<?php
/*
+-----------------------------------------------------------------------------+
| $Id: *.php,v 1.* 2005/07/01 06:15:08 Bleakwind Exp $
| SnowStats
|         --- A Web Statistics Analysis for multiuser
| Copyright (c) 2003-2005 Weaverdream.com By Bleakwind
| http://www.weaverdream.com
+-----------------------------------------------------------------------------+
*/

include("include/include.php");
include("include/header.php");

if($_GET['act'] == "succeed"){
   if(empty($_GET['img'])){ $img = "succeed.gif";                } else { $img = $_GET['img']; }
   if(empty($_GET['mes'])){ $mes = $LANGUAGE['prompt_succeed'];  } else { $mes = $_GET['mes']; }
   if(empty($_GET['ret'])){ $ret = $LANGUAGE['prompt_return'];   } else { $ret = $_GET['ret']; }
   if(empty($_GET['url'])){ $url = "javascript:history.back(1)"; } else { $url = $_GET['url']; }
}elseif($_GET['act'] == "failed"){
   if(empty($_GET['img'])){ $img = "failed.gif";                 } else { $img = $_GET['img']; }
   if(empty($_GET['mes'])){ $mes = $LANGUAGE['prompt_failed'];   } else { $mes = $_GET['mes']; }
   if(empty($_GET['ret'])){ $ret = $LANGUAGE['prompt_return'];   } else { $ret = $_GET['ret']; }
   if(empty($_GET['url'])){ $url = "javascript:history.back(1)"; } else { $url = $_GET['url']; }
}else{
   $img = "failed.gif";
   $mes = $LANGUAGE['prompt_nonlicet'];
   $ret = $LANGUAGE['prompt_return'];
   $url = "javascript:history.back(1)";
}
?>

<table width="760" border="0" cellpadding="0" cellspacing="0" bgcolor="#5E94DD" align="center">
  <tr bgcolor="#5E94DD">
    <td width="200" align="center" valign="top" class="left_bg">
      <?include_once 'include/menu.php';?>
	</td>
	<td width="560" bgcolor="#FFFFFF" valign="top">
    <table width="100%" border="0" cellspacing="0" cellpadding="3" align="center" bgcolor="#EBE9ED"><tr><td><img src="images/arrowright.gif" border=0 align="absmiddle"> <a href="index.php" target="_self"><font style="color:#000000;"><?php echo CONFIG_WEBSITE;?></font></a> &raquo; <?php echo $LANGUAGE['prompt_place'];?></td></tr></table>
    <br>
    <table width="95%" border="0" cellspacing="0" cellpadding="3" align="center">
      <tr>
        <td align="center">
        <table width="100%" cellpadding="3" cellspacing="0" border="1" bordercolor="#5E94DD">
          <tr>
            <td width="20%" align="center" bordercolor="#EBE9ED" bgcolor="#EBE9ED"><img src="images/<?php echo $img;?>" border="0"></td>
            <td width="80%" align="left" bordercolor="#EBE9ED" bgcolor="#EBE9ED"><?php echo $mes;?></td>
          </tr>
          <tr>
            <td colspan="2" align="right" bordercolor="#EBE9ED" bgcolor="#EBE9ED"><input type="button" value="<?php echo $ret;?>" class="submit" onclick="location.replace('<?php echo $url;?>')"></td>
          </tr>
        </table>
        </td>
      </tr>
    </table>
    <br>
    </td>
  </tr>
</table>
<?php
include_once 'include/footer.php';
?>
